package com.zt.yongxinbao.entity;

import java.util.Date;

public class UserPolicy {
    private Integer id;

    private String companyTitle;

    private String policyNum;

    private String agentName;

    private String goodsName;

    private String benefitName;

    private String comment;

    private Integer goodsDeadline;

    private String insuredName;

    private String holderName;

    private String customerName;

    private String money;

    private Date effectiveTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCompanyTitle() {
        return companyTitle;
    }

    public void setCompanyTitle(String companyTitle) {
        this.companyTitle = companyTitle;
    }

    public String getPolicyNum() {
        return policyNum;
    }

    public void setPolicyNum(String policyNum) {
        this.policyNum = policyNum;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getBenefitName() {
        return benefitName;
    }

    public void setBenefitName(String benefitName) {
        this.benefitName = benefitName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getGoodsDeadline() {
        return goodsDeadline;
    }

    public void setGoodsDeadline(Integer goodsDeadline) {
        this.goodsDeadline = goodsDeadline;
    }

    public String getInsuredName() {
        return insuredName;
    }

    public void setInsuredName(String insuredName) {
        this.insuredName = insuredName;
    }

    public String getHolderName() {
        return holderName;
    }

    public void setHolderName(String holderName) {
        this.holderName = holderName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Date getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(Date effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    @Override
    public String toString() {
        return "UserPolicy{" +
                "id=" + id +
                ", companyTitle='" + companyTitle + '\'' +
                ", policyNum='" + policyNum + '\'' +
                ", agentName='" + agentName + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", benefitName='" + benefitName + '\'' +
                ", comment='" + comment + '\'' +
                ", goodsDeadline=" + goodsDeadline +
                ", insuredName='" + insuredName + '\'' +
                ", holderName='" + holderName + '\'' +
                ", customerName='" + customerName + '\'' +
                ", money='" + money + '\'' +
                ", effectiveTime=" + effectiveTime +
                '}';
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName == null ? null : customerName.trim();
    }
}